package com.wyman.factory.config;

import com.wyman.PropertyValues;
import com.wyman.factory.support.BeanDefinitionRegistry;

/**
 * @Author 李伟民
 * @Description DateTime 2024/11/25 01:42
 */
public class BeanDefinition {

    private Class beanClass;

    //增加bean的属性信息
    private PropertyValues propertyValues;

    public BeanDefinition(Class beanClass){
        this.beanClass = beanClass;
        this.propertyValues = new PropertyValues();
    }

    public BeanDefinition(Class beanClass,PropertyValues propertyValues){
        this.beanClass = beanClass;
        this.propertyValues =propertyValues;
    }

    public Class getBeanClass(){

        return beanClass;
    }
    public void setBeanClass(Class beanClass){
        this.beanClass = beanClass;

    }

    public PropertyValues getPropertyValues() {
        return propertyValues;
    }

    public void setPropertyValues(PropertyValues propertyValues) {
        this.propertyValues = propertyValues;
    }
}
